package no.progark.Copter;

import runaros.vvvmania.R;
import sheep.game.Layer;
import sheep.graphics.Image;
import sheep.math.BoundingBox;

import android.graphics.Canvas;
public class GameLayer extends Layer {

	private Copter copter;
	private Level level;

	public GameLayer() {
		copter = new Copter(new Image(R.drawable.copter), true);
		level = new Level();
	}

	@Override
	public void draw(Canvas canvas, BoundingBox box) {
		copter.draw(canvas);
		level.draw(canvas);
	}

	public void update(float dt) {
		copter.update(dt);
	}

	public Copter getCopter() {
		return copter;
	}
	
	public void setCopter(Copter copter) {
		this.copter = copter;
	}

	public Level getLevel() {
		return level;
	}
}